<%@ include file="/WEB-INF/views/includes.jsp" %>
<%@ include file="/WEB-INF/views/header.jsp" %>
<%@ page session="false" %>

<h3>SecureStore Login</h3>

<p style="margin-bottom:50px;">Please enter your ODU University ID and password to continue.</p>

<c:if test="${not empty param.login_error}">
	<font color="red"> 
		Your login attempt was not successful, try again.
		<br /><br /> 
		Reason: 
		<c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />.
	</font>
	<br /><br />
</c:if>

<form name="f" action="<c:url value='/j_spring_security_check'/>" method="POST">
	<table style="width:400px;border:none;margin-left:auto;margin-right:auto;" class="noborder">
		<tr>
			<td style="width:100px">University ID:</td>
			<td style="width:300px"><input type="text" name="j_username" style="width:100%;" /></td>
		</tr>
		
		<tr>
			<td>Password:</td>
			<td><input type="password" name="j_password" style="width:100%;"></td>
		</tr>
		
		<tr>
			<td colspan="2">&nbsp;</td>
		</tr>

		<tr>
			<td colspan='2' style="text-align:center;"><input name="submit" type="submit" value="Login">&nbsp;<input name="reset" type="reset"></td>
		</tr>
	</table>
</form>

<%@ include file="/WEB-INF/views/footer.jsp" %>
